package com.dao;

import com.pojo.Course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseMapper {
    void insertCourse(Course course);
    void delCourseById(String id);
    void updateCourseById(Course course);
    int getCount();
    List<Course> selectCourseByID(String id);
    List<Course> selectCourseByCreatorId(String creatorId);
    List<Course> selectCourseByCode(String code);
}
